export type ModalIf = {
    // when you got multi modals, you need this to locate the modal state
    id: string;
    type: "alert" | "confirm";
    isOpen: boolean;
    title: string;
    content: string;
    onOk?: () => void;
    onCancel?: () => void;
};

export type ModalListIf = Array<ModalIf>;
